/**
 * 
 */
package com.gmail.avereshchaga.web.form;

import org.hibernate.validator.constraints.NotBlank;

import com.gmail.avereshchaga.web.validate.ExisitingDivision;

/**
 * @author <a href="mailto:avereshchaga@gmail.com">Vereshchaga Alexey</a>
 * 
 */
public class DivisionForm {

    private Long id;

    @NotBlank(message = "Name of Division must be set")
    @ExisitingDivision
    private String name;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

}
